package com.eascs.crm.server.manger;

import java.util.List;

import com.eascs.app.dao.PageResult;
import com.eascs.crm.common.entity.CustomerBasicInfoEntity;
import com.eascs.crm.common.entity.CustomerUnit;
import com.eascs.crm.common.vo.QueryCustomerVO;

public interface ICustomerInfoManager  {

	public String addCustomer(CustomerBasicInfoEntity ICustomerInfoManager);

	public boolean updateCustomer(CustomerBasicInfoEntity customerBasicInfoEntity);


	
	/**
	 * @Title: findCustomerBaseInfo
	 * @Description: 分页查询客户基本资料（本系统页面需要）
	 * @author 张庆奇
	 * @param vo
	 * @return
	 * @return PageResult<CustomerBasicInfoEntity>
	 * @throws
	 * @date 2016年5月27日 下午5:49:46
	 */
	public PageResult<CustomerBasicInfoEntity> findCustomerBaseInfo(QueryCustomerVO vo);
	
	public PageResult<Object[]> findCustomerUnitInfo(String customerId, String unitId);
	
	public List<CustomerUnit> getCustomerUnitInfo(String customerId);

	public String addCustomerUnit(CustomerUnit customerUnit);	
	
	public String getUnitCount(String customerId);
	
	boolean delUnit(String unit_id, String customer_id);
	}
